package com.bjgzy.rating.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.bjgzy.rating.di.module.EntriesDetailModule;
import com.bjgzy.rating.mvp.contract.EntriesDetailContract;
import com.jess.arms.di.scope.ActivityScope;
import com.bjgzy.rating.mvp.ui.activity.EntriesDetailActivity;

/**
 * @author xubo
 * @date 2018-8-8 9:50:00
 */
@ActivityScope
@Component(modules = EntriesDetailModule.class, dependencies = AppComponent.class)
public interface EntriesDetailComponent {
    void inject(EntriesDetailActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        EntriesDetailComponent.Builder view(EntriesDetailContract.View view);

        EntriesDetailComponent.Builder appComponent(AppComponent appComponent);

        EntriesDetailComponent build();
    }


}